package com.jxl.springboot.game.controller;

import com.jxl.springboot.game.web.constant.Constant;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author 江雪林
 * @create 2021-04-22
 */
@Controller
public class SysController {
    @RequestMapping("/login")
    public String login(){
        return "login.html";
    }

    @RequestMapping(value = {"/main"})
    public String main(){
        System.out.println("跳转 main.html");
        return "/main.html";
    }
}
